import java.awt.BorderLayout;

import javax.swing.JWindow;


public class Navi extends JWindow
{
	private Tastatur tastatur;

	public Navi(Hauptfenster _hautFenster)
	{
		super(_hautFenster);
		System.out.println("--Navi--");
		this.setLocation(_hautFenster.getLocation().x + _hautFenster.getWidth(), _hautFenster.getLocation().y);
		
		this.setLayout(new BorderLayout());
		
		
		this.tastatur = new Tastatur();
		this.add(tastatur, BorderLayout.NORTH);
		
		this.setVisible(true);
		this.pack();
	}
}
